﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.Record;


namespace TyMES.ViewModel.Record.ScanMaterialSNVMs
{
    public partial class ScanMaterialSNTemplateVM : BaseTemplateVM
    {
        [Display(Name = "产线编码")]
        public ExcelPropety lineCode_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.lineCode);
        [Display(Name = "工位编码")]
        public ExcelPropety stationCode_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.stationCode);
        [Display(Name = "工序编码")]
        public ExcelPropety operationCode_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.operationCode);
        [Display(Name = "组件物料编码")]
        public ExcelPropety assemblyMaterialCode_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.assemblyMaterialCode);
        [Display(Name = "组件物料名称")]
        public ExcelPropety assemblyMaterialName_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.assemblyMaterialName);
        [Display(Name = "组件物料SN")]
        public ExcelPropety assemblyMaterialSN_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.assemblyMaterialSN);
        [Display(Name = "序号")]
        public ExcelPropety sort_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.sort);
        [Display(Name = "绑定批次")]
        public ExcelPropety batchCode_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.batchCode);
        [Display(Name = "绑定时间")]
        public ExcelPropety BindTime_Excel = ExcelPropety.CreateProperty<ScanMaterialSN>(x => x.BindTime);

	    protected override void InitVM()
        {
        }

    }

    public class ScanMaterialSNImportVM : BaseImportVM<ScanMaterialSNTemplateVM, ScanMaterialSN>
    {

    }

}
